home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000033_eric672@carolina.rr.comTRASH_Mon Apr 22 19:29:42 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  129 lines

  1. Article: 13323 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail
  3. From: "Eric Almond" <eric672@carolina.rr.comTRASH>
  4. Newsgroups: comp.protocols.kermit.misc
  5. References: <Or0w8.67414$XP2.24171426@typhoon.southeast.rr.com> <3CC09982.60804@columbia.edu> <Bm2w8.65122$pe6.24448182@typhoon.southeast.rr.com> <3CC0FD46.7090500@nyc.rr.com>
  6. Subject: Re: FTP w/SSL Problem using C-Kermit 8.0.201
  7. Lines: 108
  8. X-Priority: 3
  9. X-MSMail-Priority: Normal
  10. X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
  11. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
  12. Message-ID: <CQ0x8.399222$2J2.23534150@typhoon.southeast.rr.com>
  13. Date: Mon, 22 Apr 2002 23:15:46 GMT
  14. NNTP-Posting-Host: 66.56.121.121
  15. X-Complaints-To: abuse@rr.com
  16. X-Trace: typhoon.southeast.rr.com 1019517346 66.56.121.121 (Mon, 22 Apr 2002 19:15:46 EDT)
  17. NNTP-Posting-Date: Mon, 22 Apr 2002 19:15:46 EDT
  18. Organization: RoadRunner - Carolina
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13323
  20.  
  21. Well that worked!!!  Thanks so much for your help!!!!
  22.  
  23. Still not sure why it keeps spitting back the "?Cannot set protection level"
  24. message but since "PRIVATE" is the default and what I want...I'm happy.
  25.  
  26.  
  27.  
  28. "Jeffrey Altman [Road Runner]" <jaltman2@nyc.rr.com> wrote in message
  29. news:3CC0FD46.7090500@nyc.rr.com...
  30. > You do not want to be using the /SSL in the FTP OPEN.  Not if you
  31. > want to be using FTP AUTH SSL as the authentication mechanism.
  32. >
  33. >
  34. > Eric Almond wrote:
  35. >
  36. > > Thanks for responding!!!  I added the lines below and this is the debug
  37. > > output:
  38. > >
  39. > > ?Cannot set protection level to SAFE
  40. > > ?Cannot set protection level to SAFE
  41. > > SSL DEBUG ACTIVE
  42. > > =>START SSL/TLS connect on COMMAND
  43. > > SSL_handshake:UNKWN  before/connect initialization
  44. > > SSL_connect:UNKWN  before/connect initialization
  45. > > SSL_connect:3WCH_A SSLv3 write client hello A
  46. > > SSL_write_alert SSL_connect:error in 3RSH_A SSLv3 read server hello A
  47. > > ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL
  48. > > routines:SSL3_GET_RECORD:wrong version number
  49. > > =>DONE SSL/TLS connect on COMMAND
  50. > > ?Can't FTP connect to ftp.xxxxxx.com:10021
  51. > > Connection failed
  52. > >
  53. > >
  54. > > -Eric
  55. > >
  56. > >
  57. > > "Jeffrey Altman [Kermit Project]" <jaltman@columbia.edu> wrote in
  58. message
  59. > > news:3CC09982.60804@columbia.edu...
  60. > >
  61. > >>I don't know what your server is negotiating since you didn't provide
  62. > >>any debug output:
  63. > >>
  64. > >>   SET AUTH TLS VERBOSE ON
  65. > >>   SET AUTH TLS DEBUG ON
  66. > >>   SET FTP VERBOSE ON
  67. > >>   SET FTP DEBUG ON
  68. > >>
  69. > >>Also, I would suggest you use
  70. > >>
  71. > >>    SET FTP AUTHTYPE TLS SSL
  72. > >>
  73. > >>
  74. > >>
  75. > >>Eric Almond wrote:
  76. > >>
  77. > >>
  78. > >>>I'm a newbie to Kermit so I hope this isn't something dumb but I'm
  79. > >>>
  80. > > having a
  81. > >
  82. > >>>problem connecting to a remote FTP server that is secured via SSL.  I'm
  83. > >>>
  84. > > not
  85. > >
  86. > >>>sure if its OpenSSL that's causing the problem or Kermit.  I know the
  87. > >>>
  88. > > server
  89. > >
  90. > >>>is working correctly because I can connect securely using CuteFTP and
  91. > >>>WS_FTP.
  92. > >>>
  93. > >>>I'm running on AIX 4.3.3, OpenSSL 0.9.6c, C-Kermit 8.0.201
  94. > >>>
  95. > >>>The error I'm getting is as follows:
  96. > >>>
  97. > >>>?Cannot set protection level to PRIVATE
  98. > >>>?Cannot set protection level to PRIVATE
  99. > >>>ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL
  100. > >>>routines:SSL3_GET_RECORD:wrong version number ?Can't FTP connect to
  101. > >>>ftp.xxxxxx.com:10021 Connection failed
  102. > >>>
  103. > >>>Here's a copy of my script:
  104. > >>>
  105. > >>>#!/opt/kermit/bin/kermit +
  106. > >>>SET FTP AUTOLOGIN ON
  107. > >>>SET FTP AUTHTYPE SSL
  108. > >>>SET FTP AUTOAUTHENTICATION ON
  109. > >>>SET FTP AUTOENCRYPTION ON
  110. > >>>SET FTP COMMAND-PROTECTION-LEVEL PRIVATE
  111. > >>>SET FTP DATA-PROTECTION-LEVEL PRIVATE
  112. > >>>if not defined \%1 exit 1 Usage: \%0 filename
  113. > >>>if not exist \%1 exit 1 \%1: File not found
  114. > >>>if not readable \%1 exit 1 \%1: File not readable
  115. > >>>ftp open /SSL ftp.xxxxxx.com 10021 /user:xxxxxxxx /password:xxxxxxxx
  116. > >>>if fail exit 1 Connection failed
  117. > >>>if not \v(ftp_loggedin) exit 1 Login failed
  118. > >>>ftp cd upload
  119. > >>>if fail exit 1 ftp cd upload: \v(ftp_message)
  120. > >>>ftp put \%1 if fail exit 1
  121. > >>>ftp put \%1: \v(ftp_message)
  122. > >>>ftp bye exit
  123. > >>>
  124. > >
  125. > >
  126. >
  127.  
  128.  
  129.